package com.ttg.web.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.model.po.AcctAnalysisPO;
import com.ttg.model.pojo.CostManageAcctDepositAnalysis;

import java.math.BigDecimal;
import java.util.List;

/**
 * (TblCostManageAcctDepositAnalysis) dao
 *
 * @author chenyou
 * @datetime 2025-09-23 15:40:25
 */
public interface CostManageAcctDepositAnalysisDao extends IService<CostManageAcctDepositAnalysis>{

    CostManageAcctDepositAnalysis getByUnique(String intervalType, Integer dimType,Integer acctType, String year,String month);

    void saveOrUpd(CostManageAcctDepositAnalysis depositAnalysis);

    BigDecimal sumPayInterest(AcctAnalysisPO po);

    List<CostManageAcctDepositAnalysis> getByParam(AcctAnalysisPO po);
}

